package com.violet.springaop.service.impl;

import com.violet.springaop.service.CalcService;
import org.springframework.stereotype.Service;

/**
 * @author LiChaochao
 * @Date 2021/10/21 10:08
 * @Description
 */
@Service
public class CalcServiceImpl implements CalcService {

    @Override
    public int div(int x, int y) {
        int result = x / y;
        System.out.println("=================> CalcServiceImpl被调用了，计算结果是：" + result);
        return result;
    }
}
